﻿using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;

/// <summary>
/// Summary description for CXHotelPayment
/// </summary>
namespace CE.HotelEan
{
    public class CXHotelPayment
    {
        public CXHotelPayment()
        {
            //
            // TODO: Add constructor logic here
            //
        }
        public HotelPaymentResponse HotelPaymentResponse { get; set; }
    }
    public class HotelPaymentResponse : BaseResponse
    {
        public HotelPaymentResponse(){}

        [XmlAttribute]
        public string currencyCode { get; set; }
        [XmlElement("PaymentType")]
        public PaymentType[] PaymentType { get; set; }
        [XmlAttribute]
        public int size { get; set; }
    }
    public class PaymentType
    {
        public PaymentType(){}

        public string code { get; set; }
        public string name { get; set; }
    }
}
